package cn.jd.system.mapper;

import cn.jd.system.domain.Menu;
import cn.jd.basic.mapper.BasicMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jd
 * @since 2022-10-24
 */
public interface MenuMapper extends BasicMapper<Menu> {

    List<Menu> findbyRoleId(Long roleId);

    List<Menu> loadOwnMenuByLogininId(Long id);
}
